<!--
  * 库存详情
  *
-->
<template>
  <a-row :gutter="10">
    <a-col :span="4">
      <WarehouseTree ref="WarehouseTreeRef" />
      <Tree name="Warehouse" />
    </a-col>

    <a-col :span="20">
      <InventoryList />
    </a-col>
  </a-row>
</template>
<script setup lang="ts">
import WarehouseTree from './components/warehouse-tree/index.vue'
import InventoryList from './components/inventory-list/index.vue'
import eventEmitter from '@/lib/event-emitter'
onDeactivated(() => {
  eventEmitter.offAll('Custom:queryInventoryList')
})
</script>
